﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace laboration2.Models.Abstract
{
    public interface IRepository
    {
        void AddContact(Contact contact);
        void DeleteContact(Contact contact);
        void EditContact(Contact contact);
        List<Contact> GetContacts();
        PagedList<Contact> GetContacts(int skip, int take);
        Contact GetContactById(int contactId);
        void Save();
    }
}
